<script type="text/javascript" src="<?=BASE_URL();?>java_scripts/vote_scripts.js"></script>
<div>
<?php 
	$desc=(!isset($cat_desc))?"":$cat_desc;
	$error_msg=(!isset($error))?"":$error;
?>
   <table border="0" width="100%">
      <tr>
      	<td style="font-size: 20px;font-weight: bold;">Add New - Vote Item Category</td>
      </tr>
      <tr>
      	<td align="center">
	      	<form action="" method="post">
	      		<table border="0" cellpadding="0" cellspacing="0" width="80%">
	      			<tr align="center">
	      				<td height="55">Category Name :&nbsp;&nbsp;&nbsp;<input type="text" value="<?=$desc?>" name="txtcat" id="txtcat" maxlength="255" style="width: 250px;" /><div id='existing'><?=$error_msg?></div></td>
	      			</tr>
	      			<tr align="center">
	      				<td height="20"><input type="button" onclick="javascript:window.location='<?=site_url("vote_management/itemCategory")?>'" style="cursor: pointer;" value="Back"/>&nbsp;&nbsp;<input type="button" onclick="javascript:addCategory('<?=site_url("vote_management/addCategory")?>')" style="cursor: pointer;" value="Add Now"/></td>
	      			</tr>
	      		</table>
	      	</form>
      	</td>
      </tr>
   </table>
</div>
